package com.web.dao;

import java.util.List;

import com.web.domain.PageBean;
import com.web.domain.Product;

public interface ProductDao { 


	List<Product> getHot() throws Exception;


	Product getById(String pid) throws Exception;

	List<Product> findByPage(PageBean<Product> pb, String cid) throws Exception;

	int getTotalRecord(String cid) throws Exception;


	List<Product> search(String search) throws Exception;

}
